package com.ruoyi.tzzl.domain;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.Date;
import java.util.List;

/**
 * 用户详情对象 wz_user_details
 * @author by caoyong
 * @date 2022/11/8
 **/
@Data
@Accessors(chain = true)
@NoArgsConstructor
@TableName("wz_user_details")
public class WzUserDetails {

    private static final long serialVersionUID = 1L;

    /** id */
    @TableId(value = "id", type = IdType.AUTO) //id自动递增
    private Long id;

    /**出生年月*/
    private Date dateOfBirth;

    /** 小程序用户id */
    @Excel(name = "小程序用户id")
    private Long wid;

    /** 星座 */
    @Excel(name = "星座")
    private String constellation;

    /** 身高 */
    @Excel(name = "身高")
    private String height;

    /** 体重 */
    @Excel(name = "体重")
    private String weight;

    /** 年收入 */
    @Excel(name = "年收入")
    private String annualIncome;

    /**主页图片*/
    private String homepagePicture;

    /** 工作生活地址 */
    @Excel(name = "工作生活地址")
    private String workAddress;

    /** 学历 */
    @Excel(name = "学历")
    private String schooling;

    /** 期望结婚时间 */
    @Excel(name = "期望结婚时间")
    private String getMarriedTime;

    /** 民族 */
    @Excel(name = "民族")
    private String national;

    /** 户籍 */
    @Excel(name = "户籍")
    private String censusRegister;

    /** 未婚 */
    @Excel(name = "未婚")
    private String marriageStatus;

    /** 职业 */
    @Excel(name = "职业")
    private String professional;

    /** 信仰 */
    @Excel(name = "信仰")
    private String faith;

    /** 饮酒 */
    @Excel(name = "饮酒")
    private String drinking;

    /** 吸烟 */
    @Excel(name = "吸烟")
    private String smoking;

    /** 家中排行 */
    @Excel(name = "家中排行")
    private String ranking;

    /** 有无子女 */
    @Excel(name = "有无子女")
    private String children;

    /** 自我介绍 */
    @Excel(name = "自我介绍")
    private String introduce;

    /**支付宝账号*/
    private String zfbAccount;

    /**支付宝实名姓名*/
    private String zfbName;

    /** 创建时间 */
    @Excel(name = "创建时间" , width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /** 变动时间 */
    @Excel(name = "变动时间" , width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    /** 删除标志（0代表存在 2代表删除） */
    @TableLogic
    private String delFlag;


    /**形象照*/
    @TableField(exist = false)
    private String photo;
    /**昵称*/
    @TableField(exist = false)
    private String userName;
    /**生活照*/
    @TableField(exist = false)
    private List<WzPhotoAlbum> wzPhotoAlbumList;
    /**照片*/
    @TableField(exist = false)
    private List<String> photoAlbumUrlList;

    /**性别*/
    @TableField(exist = false)
    private String sex;
}

